package createPattern.factoryPattern.simpleFactory.product;

public class Car {

	private String name = "";

	private String color = "";

	private String type = "";

	public Car(String name, String color, String type) {
		this.name = name;
		this.color = color;
		this.type = type;
	}

	public void run() {
		System.out.println("A " + color + " " + type + " of " + name + " is Running!");
		System.out.println();
	}

}
